credit2: remove two nested functions, replacing them with static ones
authorTim Deegan <Tim.Deegan@citrix.com>
Mon, 7 Mar 2011 11:21:11 +0000 (11:21 +0000)
committerTim Deegan <Tim.Deegan@citrix.com>
Mon, 7 Mar 2011 11:21:11 +0000 (11:21 +0000)
commit024456981b27d793f8c17ce8e0818bfee47cc504
tree08d8f75838d4136dcdfebc77017fe6abe71693a2
parentd694e3d8c56b6dae405a5be357a5ee9981aaba46
credit2: remove two nested functions, replacing them with static ones
and passing the outer scope's variables in explicitly.
This is needed to compile xen with clang.

Signed-off-by: Tim Deegan <Tim.Deegan@citrix.com>
Acked-by: Keir Fraser <keir@xen.org>
xen/common/sched_credit2.c